#ifndef _CDSF_TYPES_H_
#define _CDSF_TYPES_H_

#include "CDSF_Includes.h"
#include "CDSF_ErrorCode.h"


#ifndef _SYSTEM_DEFINE_	/* hack */
typedef unsigned int   UT32;
typedef int            ST32;
typedef unsigned short UT16;
typedef short          ST16;
typedef unsigned char  UT08;
typedef char           ST08;
typedef unsigned char  bool;
#endif		/* hack */

#ifndef TRUE
#define TRUE	1
#define FALSE	0
#endif

#ifndef NULL
#define NULL	0
#endif

typedef int SFClockRate;

typedef int SFBusType;
typedef int SFDeviceType;
typedef int SFDeviceId;
typedef int SFDataAreaId;

typedef enum {
	SFTaskTypeSoft,
	SFTaskTypeHard,
}SFTaskType;

typedef SFCode (*SFTaskInitFunction)(int rate);
typedef SFCode (*SFTaskDelegateFunction)(void);

#endif
